package pres.lnk.learn.designpattern.d_builder.itemtypes;

import pres.lnk.learn.designpattern.d_builder.Item;
import pres.lnk.learn.designpattern.d_builder.Packing;
import pres.lnk.learn.designpattern.d_builder.impl.Bottle;

/**
 * 冷饮类型食物
 * @Author lnk
 * @Date 2018/2/1
 */
public abstract class ColdDrink implements Item {

    /**
     * 默认为瓶子包装
     * @return
     */
    @Override
    public Packing packing() {
        return new Bottle();
    }
}
